package com.example.testdemo.dto;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * @Author: chengxuefei
 * @Date: 2021/7/2 0026
 * @Time: 15:23
 */
@Entity
@Table(name = "T_USER")
public class User implements Serializable {
    @Id
    @Column(name = "C_ID")
    private String id;

    /**
     * 项目信息id
     */
    @Column(name = "C_NAME")
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
